package getproperties.ByEnvironment;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description
 * @Author zhoucq
 * @Date 2025/9/28 19:19
 * @Version 1.0
 */
@Component
@ConfigurationProperties(prefix = "demo04")
public class Demo04Config {
    public String getName() {
        return name;
    }

    private String name;
}
